import request from '@/utils/request'

// 新增
export function addResource(params) {
  return request({
    url: '/admin/resourceinfo/add',
    method: 'post',
    data: params,
  })
}

//查询列表
export function getResourceList(params) {
  return request({
    url: '/admin/resourceinfo/findList',
    method: 'get',
    params: params,
  })
}

// 删除
export function getDelete(params) {
  return request({
    url: '/admin/resourceinfo/delete',
    method: 'post',
    data: params,
  })
}
